% $Id$
%
%% Copyright (C) 2012 LiTuX, all wrongs reserved.
%
%	This file is part of SDUSThesis.
%	It provide the correct format for bibliography for SDUST using biblatex

\ProvidesFile{sdust.bbx}
[\abx@lbxid $Id$]
% TODO, this is only a framework and is not finished.

\RequireBibliographyStyle{numeric-comp}

% \InitializeBibliographyStyle{
% }

\DeclareBibliographyDriver{article}{%
	\printnames{author}%
	\newunit\newblock%
	\printfield{title}[J].%
	\newunit\newblock%
	\printfield{journaltitle}%
	\newunit%
	\printfield{year}%
	\newunit%
	\printfield{volumn}%
	\newunit%
	\printfield{pages}%
	\finentry%
}
\DeclareBibliographyDriver{book}{%
	\printnames{author}%
	\newunit\newblock%
	\printfield{title}[M].%
	\newunit\newblock%
	\printlist{location}%
	\newunit%
	\printlist{publisher}%
	\newunit%
	\printfield{year}%
	\newunit%
	\printfield{pages}%
	\finentry%
}

\DeclareBibliographyDriver{thesis}{%
	\printnames{author}%
	\newunit\newblock%
	\printfield{title}[D].%
	\newunit\newblock%
	\printlist{location}%
	\newunit%
	\printlist{school}%
	\newunit%
	\printfield{year}%
	\finentry%
}

% \DeclareBibliographyDriver{inbook}{%
% }
% \DeclareBibliographyDriver{}{ }

\endinput
% vim: set ft=tex ts=4 sw=4 :

